header{
    .site-topbar{
        width: 100%;
        height: 40px;
        background-color: #333;
        .container{
            width: 1226px;
            height: 40px;
            margin: 0 auto;
            .topbar-nav{
                height: 100%;
                line-height: 40px;
                float: left;
                font-size: 12px;
                color: #b0b0b0;
                li{
                    float: left;
                    margin: 0 10px;
                    &:first-child{
                        margin-left:0;
                    }
                    &:last-child{
                        margin-right:0;
                    }
                    &:hover{
                        color:white;
                    }
                    cursor: pointer;
                }
            }
            .cart{
                height: 40px;
                width: 150px;
                float: right;
                background-color: #424242;
                margin-left: 20px;
                font-size: 12px;
                color: #b0b0b0;
                line-height: 40px;
                text-align: center;
                cursor: pointer;
            }
            .userInfo{
                float: right;
                font-size: 12px;
                color: #b0b0b0;
                display: flex;
                li{
                    line-height: 40px;
                    margin: 0 10px;
                    a{
                        font-size: 12px;
                        color: #b0b0b0;
                    }
                }
            }
        }
    }
}
body .nav-container{
    width: 1226px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .logo{
        width: 56px;
        height: 56px;
        margin: 22px 0;
        background: url(//s02.mifile.cn/assets/static/image/logo-mi2.png) no-repeat;
        background-size: 56px;
        transform: translateZ(0);
    }
    .nav{
        width: 770px;
        height: 100px;
        margin-left: 80px;
        .list{
            display: flex;
            li{
                display: flex;
                margin: 0 10px;
                height: 100px;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                &:hover{
                    color:#ff6700;
                }
            }
        }
    }
    .search{
        height: 58px;
        width: 320px;
        margin: 21px 0;
        form{
            height: 100%;
            display: flex;
            input{
                padding: 20px;
                flex: 1;
                display: block;
                box-sizing: border-box;
                height: 100%;
                border: 1px solid #e0e0e0;
            }
            .search-bar{
                height: 100%;
                width: 60px;
                border: 1px solid #e0e0e0;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid #e0e0e0;
                margin-left:-1px;
                cursor: pointer;
                &:hover{
                    color: white;
                    background-color: #ff6700;
                }
                .iconfont{
                    font-size: 24px;
                }
            }
        }
    }
}